namespace MoreLinq.Test;

using System;
using System.Collections.ObjectModel;

/// <summary>
/// 在测试项目里面用上的 样例数据和函数
/// </summary>
static class SampleData
{
    internal static readonly ReadOnlyCollection<string>
        Strings = new(["ax", "hello", "world", "aa", "ab", "ay", "az"]);

    internal static readonly ReadOnlyCollection<int>
        Values = new([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);

    internal static readonly Func<int, int, int> Plus = (a, b) => a + b;
    internal static readonly Func<int, int, int> Mul = (a, b) => a * b;
}
